Piwik\Segment\SegmentExpression B

Total Complexity 78
Dependencies 1
Dependents 14
Total lines 411
Lines of code 265
Logical lines of code 198
Comment lines 90
Methods 14
Properties 4

Methods 14

Method Rating Maintainability Complexity Lines of code
getSqlMatchFromDefinition()
D
29 36 118
checkFieldIsAvailable()
A
50 15 25
parseOperand()
S
52 5 21
getSubExpressionCount()
S
62 4 12
parseSubExpressionsIntoSqlExpressions()
S
57 3 18
getSql()
S
59 3 14
escapeLikeString()
S
65 3 9
parseColumnsFromSqlExpr()
S
60 2 13
parseTree()
S
59 2 13
__construct()
S
76 1 4
getSegmentDefinition()
S
82 1 3
isEmpty()
S
79 1 3
parseSubExpressions()
S
66 1 9
setSubExpressionsAfterCleanup()
S
81 1 3